<?php

return array(
  'package' => 
    array(
    'type' => 'module',
    'name' => 'tv',
    'version' => '4.2.2p2',
    'path' => 'application/modules/Tv',
    'title' => 'Online TV',
    'description' => 'Online TV',
    'author' => 'SocialEnginePro',
    'changeLog' => 'settings/changelog.php',
    'callback' => 
        array(
            'path' => 'application/modules/Tv/settings/install.php',
            'class' => 'Tv_Installer',
    ),
        
    'actions' => 
        array(
      0 => 'install',
      1 => 'upgrade',
      2 => 'refresh',
      3 => 'enable',
      4 => 'disable',
    ),
    'directories' => 
        array(
      0 => 'application/modules/Tv',
    ),
    'files' => 
        array(
      0 => 'application/languages/en/tv.csv'
    ),
  ),
    // Items ---------------------------------------------------------------------
    'items' => array(
        'tv'
    ),
    // Routes --------------------------------------------------------------------
    'routes' => array(
        'tv_extended' => array(
            'route' => 'tv/:controller/:action/*',
            'defaults' => array(
                'module' => 'tv',
                'controller' => 'index',
                'action' => 'browse'
            ),
        ),
        'tv_general' => array(
            'route' => 'tv/:action/*',
            'defaults' => array(
                'module' => 'tv',
                'controller' => 'index',
                'action' => 'browse'
            ),
            'reqs' => array(
                'action' => '(browse|create|manage)',
            ),
        ),
        'tv_specific' => array(
            'route' => 'tv/:action/:tv_id/*',
            'defaults' => array(
                'module' => 'tv',
                'controller' => 'tv',
                'action' => 'view'
            ),
            'reqs' => array(
                'action' => '(view|delete|edit|invite|favourite|unsetfavourite|featured|unsetfeatured)',
            ),
        ),
    ),
);
?>
